package com.template.templateuser.domain.service;

import com.template.templatecommon.domain.Result;
import com.template.templateuser.domain.dto.SysDeptDTO;
import com.template.templateuser.domain.dto.SysUserDTO;

import java.util.List;

public interface SysUserService {
    List<SysUserDTO> getSysUserList();

    int saveUser(SysUserDTO sysUserDTO);

    SysUserDTO findUserByLoginName(String loginName);

    Result deleteUser(Long userId);


    SysUserDTO querySysUser(Long id);

    int updateSysUser(Long id, SysUserDTO sysUserDTO);
}
